package com.it.liulang.service.Impl;

import com.it.liulang.dao.Impl.UserDaoImpl;
import com.it.liulang.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDaoImpl userDao;
//    public void setUserDao(UserDaoImpl userDao) {
//        this.userDao = userDao;
//    }
    @Override
    public void save() {
        userDao.save();
    }
}
